<?xml version="1.0" encoding="UTF-8" ?>
<%@page import="com.googlecode.objectify.*"%>
<%@page import="dontCare.olbb.share.vo.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
int width = 600;
int height = 500;

ImageVO bg = new ImageVO();
bg.setUrl("http://sites.google.com/a/dontcareabout.us/repo/home/pastes/paste150.png");
bg.setWidth(width);
bg.setHeight(height);
		
ImageVO bb = new ImageVO();
bb.setUrl("https://lh6.googleusercontent.com/-hmm3OP0Qfeo/TtNGzKZWLdI/AAAAAAAAAF8/lpYBVpcnXUY/s512/1322469063818.png");
bb.setX(200);
bb.setY(200);
bb.setWidth(100);
bb.setHeight(60);

Billboard result = Billboard.gen();
result.setWidth(width);
result.setHeight(height);
result.setBackground(bg);
result.addComponent(bb, 1);

Objectify ofy = ObjectifyService.begin();
ofy.put(result);
out.println(result.getId());
%>